<?php 
    $pro_id = $_POST['pro_id'];
    $pro_name = $_POST['pro_name'];
    $cate_id = $_POST['cate_id'];
    $price_sell = $_POST['price_sell'];
    $price_buy = $_POST['price_buy'];
    include_once('connect.php');
    $db = new database("UPDATE product
            SET pro_name = '".$pro_name."' ,cate_id = ".$cate_id.", pro_price_sell = ".$price_sell.", pro_price_buy = ".$price_buy."
            WHERE pro_id = ".$pro_id);
    
?>